using System;
using System.Collections.Generic;
using System.Text;

using KioskViewerDAL.DataObjects;

namespace KioskViewerDAL.SqlServer
{
    /// <summary>
    /// Sql Server specific factory that creates Sql Server specific data access objects.
    /// 
    /// GoF Design Pattern: Factory.
    /// </summary>
    public class SqlServerDaoFactory : DaoFactory
    {

        public override ITopic TopicObj
        {
            get { return new SqlServerTopic(); }
        }

        public override ICategory CategoryObj
        {
            get { return new SqlServerCategory(); }
        }

        public override IMediaSearch MediaSearch
        {
            get { return new SqlServerMediaSearch(); }
        }
        
    }
}

